package demo1;

public class Test {
    public static void main(String[] args) {
//        Animal animal = new Dog("旺财",3);
//        Dog dog = new Dog("发财",3);
//        animal.eat();
//        dog.eat();
        //Animal animal = new Animal("旺财",4);
        
    }
}
